package com.ming.stringstudy.feedbacksystem.service;

import com.ming.stringstudy.feedbacksystem.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ming.stringstudy.feedbacksystem.pojo.PageBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author aming
 * @since 2025-01-19
 */
public interface IUserService extends IService<User> {
    int register(User user);

//    User findByAccount(String account);

    User login(User user);

    PageBean page(Integer page, Integer pageSize, User user);

    int addUser(User user);

    int updateUser(User user);


    int deleteUser(List<Integer> ids);
}
